import {
    createRouter,
    createWebHistory
  } from "vue-router";

const routes = [
  {
    path: "/index",
    component: () => import("@/pages/Home.vue"),
  },
  {
    path: "/map",
    component: () => import("@/pages/Map.vue"),
  },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
